﻿@{
    Layout = "~/Views/Shared/_PopUpLayout.cshtml";
}

@model SimpleApp.Models.QuickLook

<div>
    <span>@Model.item</span>
  | <span>@Model.hours</span>
</div>
<div>Sell</div>
<table class='popuptable'>
 @foreach (var item in Model.sell_orders.order)
 { 
    <tr>
       <td>@Convert.ToDecimal(item.price).ToString("0.0")</td>
       <td>@item.station_name</td>
       <td>@Convert.ToDateTime(item.reported_time).ToString("yyyy-MM-dd")</td>
       <td>@item.vol_remain</td>
    </tr>
 }
</table>
<div>BUY</div>
<table  class='popuptable'>
 @foreach (var item in Model.buy_orders.order)
 { 
    <tr>
       <td>@Convert.ToDecimal(item.price).ToString("0.0")</td>
       <td>@item.station_name</td>
       <td>@Convert.ToDateTime(item.reported_time).ToString("yyyy-MM-dd")</td>
       <td>@item.vol_remain</td>
    </tr>
 }
</table>